package com.ssmdemo.config;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;



@Configuration
@ComponentScan(value = {"com.ssmdemo"},excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,
        classes = Controller.class)})
@PropertySource("classpath:druid.properties")
@Import({JdbcConfig.class,MybatisConfig.class})
public class SpringConfig {
}
